
const routes = [
  {
    path: '/',
    component: () => import('layouts/MainLayout.vue'),
    redirect: '/index',
    children: [
      { path: 'index', component: () => import('pages/IndexPage.vue') },
      {path: 'sim',component:() => import('pages/SimPage.vue')},
      {path:'decision',component:() => import('pages/DecisionPage.vue')},
      {path: 'risk',component:()=>import('pages/RiskPage.vue')},
      {path:'water',component:()=>import('pages/WaterPage.vue')},
    ]
  },

  // Always leave this as last one,
  // but you can also remove it
  {
    path: '/:catchAll(.*)*',
    component: () => import('pages/ErrorNotFound.vue')
  }
]

export default routes
